<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible"content="IE=edge">
    <meta name="viewport" content="width=z, initial-scale=1.0">
    <title>Document</title>
    <script src="/web1/js/vue.js"></script>
</head>
<body>
   <div id="app">
    <h3>多个复选框使用时：</h3>
    <input id="J" type="checkbox" value="娟娟" v-model="checkedNames" >
    <label for="J">娟娟</label>
    <input id="Z" type="checkbox" value="苏苏" v-model="checkedNames" >
    <label for="Z">苏苏</label>
    <input id="L" type="checkbox" value="瑞瑞" v-model="checkedNames" >
    <label for="L">瑞瑞</label>
    <p>Checked names:{{checkedNames}}</p>

   </div>
   <script>
    var vm=new Vue({
        el:'#app',
        data:{
            checkedNames:[]
        }
    });
   </script>
</body>
</html>